package com.ruoyi.material.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.utils.CustomerBigDecimalSerialize;

import java.math.BigDecimal;

public class MaterialStockExportVo {
    //条码
    @Excel(name = "条码",sort = 0)
    private String mBarCode;

    @Excel(name = "名称",sort = 1)
    private String name;
    /** 规格 */
    @Excel(name = "规格",sort = 2)
    private String standard;
    /** 型号 */
    @Excel(name = "型号",sort = 3)
    private String model;
    /** 颜色 */
    @Excel(name = "颜色",sort = 4)
    private String color;
    @Excel(name = "类别",sort = 5)
    private String categoryName;
    //扩展表单位
    @Excel(name = "单位",sort = 6)
    private String unitName;
    //
    private String materialOther;
    //库存
    private BigDecimal stock;
    //单价/采购价
    @Excel(name = "单价",sort = 7,scale = 2)
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal purchaseDecimal;
    //零售价格
    private BigDecimal commodityDecimal;
    //销售价格
    private BigDecimal wholesaleDecimal;
    //最低售价
    private BigDecimal lowDecimal;
    private BigDecimal billPrice;


    //商品单位 单个单位时候使用
    private String commodityUnit;
    //商品ID
    private Long meId;
    //初始库存
    @Excel(name = "初始库存",sort = 8,scale = 2,isStatistics = true)
    private BigDecimal initialStock;
    //当前库存
    @Excel(name = "库存",sort = 9,scale = 2,isStatistics = true)
    private BigDecimal currentStock;
    //库存金额
    @Excel(name = "库存金额",sort = 9,scale = 2,isStatistics = true)
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal currentStockPrice;
    //单位
    private String sku;
    //仓库
    private Long depotId;

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getMaterialOther() {
        return materialOther;
    }

    public void setMaterialOther(String materialOther) {
        this.materialOther = materialOther;
    }

    public BigDecimal getStock() {
        return stock;
    }

    public void setStock(BigDecimal stock) {
        this.stock = stock;
    }

    public BigDecimal getPurchaseDecimal() {
        return purchaseDecimal;
    }

    public void setPurchaseDecimal(BigDecimal purchaseDecimal) {
        this.purchaseDecimal = purchaseDecimal;
    }

    public BigDecimal getCommodityDecimal() {
        return commodityDecimal;
    }

    public void setCommodityDecimal(BigDecimal commodityDecimal) {
        this.commodityDecimal = commodityDecimal;
    }

    public BigDecimal getWholesaleDecimal() {
        return wholesaleDecimal;
    }

    public void setWholesaleDecimal(BigDecimal wholesaleDecimal) {
        this.wholesaleDecimal = wholesaleDecimal;
    }

    public BigDecimal getLowDecimal() {
        return lowDecimal;
    }

    public void setLowDecimal(BigDecimal lowDecimal) {
        this.lowDecimal = lowDecimal;
    }

    public BigDecimal getBillPrice() {
        return billPrice;
    }

    public void setBillPrice(BigDecimal billPrice) {
        this.billPrice = billPrice;
    }

    public String getmBarCode() {
        return mBarCode;
    }

    public void setmBarCode(String mBarCode) {
        this.mBarCode = mBarCode;
    }

    public String getCommodityUnit() {
        return commodityUnit;
    }

    public void setCommodityUnit(String commodityUnit) {
        this.commodityUnit = commodityUnit;
    }

    public Long getMeId() {
        return meId;
    }

    public void setMeId(Long meId) {
        this.meId = meId;
    }

    public BigDecimal getInitialStock() {
        return initialStock;
    }

    public void setInitialStock(BigDecimal initialStock) {
        this.initialStock = initialStock;
    }

    public BigDecimal getCurrentStock() {
        return currentStock;
    }

    public void setCurrentStock(BigDecimal currentStock) {
        this.currentStock = currentStock;
    }

    public BigDecimal getCurrentStockPrice() {
        return currentStockPrice;
    }

    public void setCurrentStockPrice(BigDecimal currentStockPrice) {
        this.currentStockPrice = currentStockPrice;
    }

    public String getSku() {
        return sku;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public Long getDepotId() {
        return depotId;
    }

    public void setDepotId(Long depotId) {
        this.depotId = depotId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}